package com.replication.log;

/**
 * @author fire
 * @date 15/10/26.
 */
public abstract class Logger {
    public Logger() {
    }

    public abstract void debug(String var1);

    public abstract void debug(String var1, Throwable var2);

    public abstract void error(String var1);

    public abstract void error(String var1, Throwable var2);

    public abstract void info(String var1);

    public abstract void info(String var1, Throwable var2);

    public abstract boolean isDebugEnabled();

    public abstract boolean isErrorEnabled();

    public abstract boolean isInfoEnabled();

    public abstract boolean isWarnEnabled();

    public abstract void warn(String var1);

    public abstract void warn(String var1, Throwable var2);

    public static final Logger getLogger(String name) {
        return LoggerFactory.getLogger(name);
    }

    public static final Logger getLogger(Class<?> cls) {
        return LoggerFactory.getLogger(cls);
    }
}
